package com.ksvip.next.components.context.autoconfigure;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.ksvip.next.components.context.helper.SpringContextHelper;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@Configuration
public class SpringAutoConfiguration {

    @Bean
    @ConditionalOnMissingBean(SpringContextHelper.class)
    public SpringContextHelper springContextHelper() {

        log.info("******load SpringContextHelper**********");
        return new SpringContextHelper();
    }

   
}
